﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class FireFieldRequest
    {

        /// <summary>
        /// 主键
        /// </summary>
         public int FieldId { get; set; }

        /// <summary>
        /// 火灾编号
        /// </summary>
        public int FireId { get; set; }

        /// <summary>
        /// 外勤内容
        /// </summary>
        public string FieldContent { get; set; }

        /// <summary>
        /// 发送外勤内容 模式  0.通知 1.通知和短信
        /// </summary>
        public int SendMode { get; set; }

        /// <summary>
        /// 预计经度  1|2|3 
        /// </summary>
        public string EstimateLongitude { get; set; }

        /// <summary>
        /// 预计纬度  1|2|3
        /// </summary>
        public string EstimateLatitude { get; set; }



        /// <summary>
        /// 预计高度(高程)
        /// </summary>
        public string EstimateAltitude { get; set; }


        /// <summary>
        /// 外勤人员编号
        /// </summary>
        public int SceneUserId { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 发生时间
        /// </summary>
        public DateTime? TransDatetime { get; set; }
    }

    public class FireCompleteFieldRequest 
    {
        /// <summary>
        /// 火灾Id
        /// </summary>
        public int FireId { get; set; }


        /// <summary>
        /// 现场人员ID
        /// </summary>
        public int SceneUserId { get; set; }

        /// <summary>
        /// 现场情况
        /// </summary>
        public string SceneContent { get; set; }

        /// <summary>
        /// 现场图片或视频文件地址
        /// </summary>
        public List<FireFieldAttachRequest> Attachs { get; set; }

        /// <summary>
        /// 到达现场时间
        /// </summary>
        public DateTime? SceneTime { get; set; }



        /// <summary>
        /// 纠偏 1|2|3
        /// </summary>
        public string ReviseLongitude { get; set; }

        /// <summary>
        /// 纠偏 1|2|3
        /// </summary>
        public string ReviseLatitude { get; set; }


        /// <summary>
        /// 纠偏高度(高程)
        /// </summary>
        public string ReviseAltitude { get; set; }
    }

    public class FireFieldAttachRequest 
    {
        /// <summary>
        /// 现场图片或视频文件地址
        /// </summary>
        public string  SceneFile { get; set; }

        /// <summary>
        ///  1|2|3
        /// </summary>
        public string ShotLongitude { get; set; }


        /// <summary>
        ///  1|2|3
        /// </summary>
        public string ShotLatitude { get; set; }


        /// <summary>
        ///  海拔(高程)
        /// </summary>
        public string ShotAltitude { get; set; }


        /// <summary>
        ///  面向方向
        /// </summary>
        public string Direction { get; set; }
    }



}
